package com.gms.entity.equipment;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author jianghai
 * @since 2021-06-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Equipment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "eId", type = IdType.AUTO)
    private Integer eid;

    @TableField("eTypeId")
    private Integer etypeid;

    @TableField("eTypeName")
    private String etypename;

    @TableField("buyDate")
    private Date buydate;

    @TableField("buyCost")
    private Double buycost;

    @TableField("eFee")
    private String efee;

    @TableField("status")
    private String status;

    @TableField("borrowCount")
    private String borrowcount;

    @TableField("equipPic")
    private String equipPic;

    @TableField("equipType")
    private String equipType;

    @TableField("EventID")
    private String eventid;

    public String getEventid() {
        return eventid;
    }

    public void setEventid(String eventid) {
        this.eventid = eventid;
    }

    public String getEquipPic() {
        return equipPic;
    }

    public void setEquipPic(String equipPic) {
        this.equipPic = equipPic;
    }

    public String getEquipType() {
        return equipType;
    }

    public void setEquipType(String equipType) {
        this.equipType = equipType;
    }

    @Version
    private Integer version;

    @TableLogic
    private Integer deleted;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public Integer getEtypeid() {
        return etypeid;
    }

    public void setEtypeid(Integer etypeid) {
        this.etypeid = etypeid;
    }

    public String getEtypename() {
        return etypename;
    }

    public void setEtypename(String etypename) {
        this.etypename = etypename;
    }

    public Date getBuydate() {
        return buydate;
    }

    public void setBuydate(Date buydate) {
        this.buydate = buydate;
    }

    public Double getBuycost() {
        return buycost;
    }

    public void setBuycost(Double buycost) {
        this.buycost = buycost;
    }

    public String getEfee() {
        return efee;
    }

    public void setEfee(String efee) {
        this.efee = efee;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getBorrowcount() {
        return borrowcount;
    }

    public void setBorrowcount(String borrowcount) {
        this.borrowcount = borrowcount;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

}